package com.spc.travel.agency.base;

import com.travel.lib.base.BaseApplication;
import com.travel.lib.base.di.component.DaggerAppcomponent;
import com.travel.lib.base.di.module.AppModule;

/**
 * Created by spc on 2017/8/10.
 */

public class TravelApplication extends BaseApplication {


    public static TravelApplication getInst() {
        return (TravelApplication) mInst;
    }

    protected void initDagger() {
        mAppcomponent = DaggerAppcomponent.
                builder()
                .appModule(new AppModule(this))
                .build();
    }
}
